/**
 * 数据库配置
 */
module.exports = {
    mongodb: {
        //db : 'mongodb://113.132.240.53:27017/dxa'
        //db : 'mongodb://222.90.115.238:27017/dxa'
        // db : 'mongodb://113.139.25.90:27017/dxa'
       db : 'mongodb://xazhsy:xazhsy@127.0.0.1:27017/dxa',
       // db : 'mongodb://xazhsy:Xazhsy123@dds-2ze9154dae3d67a42.mongodb.rds.aliyuncs.com:3717,dds-2ze9154dae3d67a41.mongodb.rds.aliyuncs.com:3717/dxa?replicaSet=mgset-1394051',
    },
    redis: {
    //    host: 'cdfb3cb2d08b4c31.m.cnbja.kvstore.aliyuncs.com',
        host: '127.0.0.1',
        password: 'Xazhsy123',
        port: 6379,
        secret: 'Xazhsy123',//密钥
        redis_db: 0,
        select_db : {
            ads : '3',
            user : '1',
            cart : '4',
            order : '10',
            user_relation:'6',
            token:'7',
            queue:'5'
        }
    }
};
